package yns.springboot.guide.demo.data.mongodb.driver;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import io.micrometer.core.instrument.binder.mongodb.MongoConnectionPoolTagsProvider;

@Configuration(proxyBeanMethods = false)
public class MongoConnectionPoolTagsProviderConfiguration {

	@Bean
	public MongoConnectionPoolTagsProvider customConnectionPoolTagsProvider() {
		return new CustomConnectionPoolTagsProvider();
	}

}
